#!/bin/bash

declare -a cves
cves=$(yum updateinfo list cves | cut -d" " -f2 | grep ^CVE)

cat <<EOF
[$(echo \"${cves}\" | sed -e 's/ /\",\"/g')]
EOF
